package com.dyh.quickdemo.demos.leqeeTool.db;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;

/*
@Author=Joey Wheeler
@Date=2020/10/16 13:52
*/
@RestController
@RequestMapping("/DbQuery")
public interface DbQueryService {
    //String url = "https://databasehub.leqee.com/api/QuickQueryController/syncExecute";
    /*https://databasehub.guanyc.cn/api/QuickQueryController/syncExecute*/
    @RequestMapping("/call")
    void call(@RequestBody ReqUrl req);

    @RequestMapping("/callRaw")
    void callRaw(@RequestBody ReqUrl req);
}
